<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><%@ page language="java"   pageEncoding="UTF-8" %>
<%@taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="jj" uri="/WEB-INF/jj.tld"  %> 
<%
	String ctx = request.getContextPath();
	pageContext.setAttribute("ctx",ctx);

	
%>
<script type="text/javascript" src="<%=ctx %>/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=ctx %>/js/jquery.cookie.js"></script>
<script type="text/javascript" src="<%=ctx %>/js/jquery.easyui.min.js"></script>
<link link id="easyuiTheme"  rel="stylesheet" type="text/css" href="<%=ctx %>/js/themes/default/easyui.css">
<script type="text/javascript" src="<%=ctx %>/js/changeEasyuiTheme.js"></script>
<link rel="stylesheet" type="text/css" href="<%=ctx %>/js/themes/icon.css">

<script src="<%=ctx %>/js/locale/easyui-lang-zh_CN.js"  type="text/javascript"></script>
<script type="text/javascript" src="<%=ctx%>/js/syUtils.js" type="text/javascript"   ></script>
<script type="text/javascript" src="<%=ctx %>/js/json2.js"></script>

<script>
var ctx="<%=ctx%>";
$.ajaxSetup({   
    contentType:"application/x-www-form-urlencoded;charset=utf-8",   
    complete:function(XMLHttpRequest,textStatus){   
            var sessionstatus=XMLHttpRequest.getResponseHeader("sessionstatus");  
            if(sessionstatus=="timeout"){
            	$.messager.alert('提示','会话超时，请重新登录操作!','error');
				window.location.replace("<%=ctx%>/index.jsp"); 
            }   
     }   
}); 
</script>